// 邮件列表样式
.mailListWrap {
    min-width: 1000px;
    margin: 12px 16px 16px 16px;
    background-color: #fff;
    overflow-x: auto;

    .bodyWrap {
        display: flex;
        height: calc(100vh - 320px);
    }

    :global {
        .ant-spin-nested-loading {
            display: flex;
            height: 100%;
            width: 100%;
            align-items: flex-start;
            justify-content: center;
        }

        .ant-spin-container {
            width: 100%;
            overflow-x: hidden;
        }

        .ant-card-head {
            position: relative;
            z-index: 10;
        }

        .ant-card-head-wrapper {
            align-items: start;
            height: 56px;
        }

        .ant-card-head-title {
            padding: 0;
        }

        .ant-menu-horizontal {
            height: 56px;
            line-height: 54px;
            font-size: 16px;
        }

        .ant-menu-item {
            padding: 0;
            margin-right: 30px;
        }

        .ant-card-extra {
            padding: 12px 0;
        }
    }
}

//发送邮件样式
.mailFormWrap {
    margin: 24px;

    :global {
        .ant-spin-nested-loading {
            display: flex;
            height: 100%;
            align-items: center;
            justify-content: center;
        }

        .ant-input,
        .ant-input:focus,
        .ant-input:hover,
        .ant-select-selection,
        .ant-select-selection:focus,
        .ant-select-selection:hover,
        .ant-select-open .ant-select-selection,
        .ant-select-selection:active {
            border-color: transparent;
            box-shadow: none;
            outline: none;
        }

        .ant-input {
            min-height: 39px;
            padding: 0 !important;
        }

        .ant-form-item {
            border-bottom: 1px solid #f0f0f0;
            margin-bottom: 0;
            padding: 4px 0;

            &:last-child,
            &:nth-last-child(2) {
                border-bottom: 0;
                margin-bottom: 20px;
            }
        }

        .ant-form-item-label-left {
            font-weight: 600;
        }

        .ant-select-selection--multiple {
            max-height: 90px;
            overflow-y: auto;
            position: relative;
            top: 4px;
        }

        .ant-form-item-control {
            line-height: initial;
        }

        .upload-list-inline {
            .ant-upload-list-item {
                width: 240px;
                height: 56px;
                line-height: 56px;
                margin: 7px 14px 7px 0;
                overflow: hidden;
                background-color: #f5f5f5;
                float: left;
            }

            .ant-upload-list-item-info .anticon-loading,
            .ant-upload-list-item-info .anticon-paper-clip {
                top: 20px;
            }

            .ant-upload-animate-enter {
                animation-name: uploadAnimateInlineIn;
            }

            .ant-upload-animate-leave {
                animation-name: uploadAnimateInlineOut;
            }
        }
    }
}

// 邮箱管理样式
.mailManageList {
    min-height: calc(100vh - 340px);

    ul {
        position: relative;
        width: 260px;
        height: 96px;
        overflow: hidden;
        border-radius: 8px;
        margin-right: 16px;
        margin-bottom: 16px;
        padding: 16px;
        border: 1px solid #d8d9d9;
        float: left;
        transition: all 0.3s;
        color: #262626;

        li:first-child {
            font-weight: 600;
            font-size: 16px;
            overflow: hidden;
            margin-bottom: 14px;
            height: 24px;
            line-height: 24px;
        }

        &:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }
    }

    .default {
        &::before {
            content: '';
            position: absolute;
            display: block;
            height: 15px;
            width: 40px;
            right: -15px;
            text-align: center;
            line-height: 15px;
            transform: rotate(45deg);
            background-color: #ffa808;
            top: 0;
            z-index: 10;
        }
    }

    :global {
        .ant-btn {
            padding: 0;
            margin-right: 24px;
        }
    }
}

@media (min-width: 320px) {
    .normalwrap {
        :global {

            .ant-col-lg-21,
            .ant-col-lg-22,
            .ant-col-lg-23 {
                width: 100%;
            }
        }
    }
}
